/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/*
 * Menus Style Sheet - Defines base styles for various menus
 * Supported: Mega Drop-Down Menu, Sidebar/Accordion Menu and Line Menu
*/


/* Menu Helpers
----------------------------------------------------------------------------------------------------*/

.menu,
.menu ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.menu a,
.menu span { display: block; }
.menu a { text-decoration: none; }


/* Mega Drop-Down Menu
----------------------------------------------------------------------------------------------------*/

.menu-dropdown li { position: relative; }

/* Level 1 */
.menu-dropdown,
.menu-dropdown .level1,
.menu-dropdown .level1 > span { float: left; }

.menu-dropdown a.level1 > span,
.menu-dropdown span.level1 > span {
    height: 30px;
    padding: 0 10px;
    line-height: 30px;
}

/* Drop-Down */
.menu-dropdown .dropdown {
    display: none;
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 100;
    width: 300px; /* Default */
}

.menu-dropdown li:hover .dropdown,
.menu-dropdown li.remain .dropdown { display: block; }

.menu-dropdown li:hover .dropdown.flip,
.menu-dropdown li.remain .dropdown.flip {
    left: auto;
    right: 0;
}

.menu-dropdown .dropdown-bg > div { overflow: hidden; }

.menu-dropdown .stack .column { width: 100%; }

/* Multi Columns, Default */
.menu-dropdown .columns2 { width: 600px; }
.menu-dropdown .columns3 { width: 900px; }
.menu-dropdown .columns4 { width: 1200px; }

.menu-dropdown .column { float: left; }

/* Level 2 */
.menu-dropdown a.level2 > span,
.menu-dropdown span.level2 > span {
    padding: 7px 0;
    line-height: 21px;
    overflow: hidden;
}

/* Level 3 */
.menu-dropdown ul.level3 { padding-bottom: 10px; }

.menu-dropdown li.level3 { /* Must be set in li for IE7 */
    font-size: 11px;
    line-height: 17px;
}

/* Icons */
.menu-dropdown span.icon {
    display: block;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    float: left;
}

.menu-dropdown .level1 .level1 span.icon {
    width: 30px;
    height: 30px;
    margin-left: -5px;
}
.menu-dropdown .level1 .level1 span.icon + span,
.menu-dropdown .level1 .level1 span.icon + span + span { margin-left: 25px; }

.menu-dropdown li.level2 .level2 span.icon {
    width: 35px;
    height: 35px;
    margin-top: -7px;
    margin-bottom: -7px;
}
.menu-dropdown li.level2.hassubtitle .level2 span.icon { margin-top: -4px; }

.menu-dropdown li.level2 .level2 span.icon { margin-right: 5px; }
.menu-dropdown li.level2 .level2 span.icon + span,
.menu-dropdown li.level2 .level2 span.icon + span + span { margin-left: 40px; }

/* Subtitles */
.menu-dropdown span.title { line-height: 18px; }

.menu-dropdown span.subtitle {
    margin-top: -1px;
    font-size: 9px;
    line-height: 10px;
    text-indent: 1px;
}

.menu-dropdown li.level2 .level2 span.title { line-height: 15px; }
.menu-dropdown li.level2 .level2 span.subtitle { line-height: 14px; }


/* Sidebar/Accordion Menu
----------------------------------------------------------------------------------------------------*/

/* Accordion */
.menu-sidebar li.parent span.level1 > span { cursor: pointer; }

/* Level 1 */
.menu-sidebar a.level1 > span,
.menu-sidebar span.level1 > span {
    padding: 5px 0;
    line-height: 20px;
}

/* Remove Subtitles */
.menu-sidebar span.title { display: inline; }
.menu-sidebar span.subtitle { display: none; }

/* Level 2-4 */
.menu-sidebar ul.level2 { padding-bottom: 10px; }
.menu-sidebar li.level1:last-child ul.level2 { padding-bottom: 0; }

.menu-sidebar .level2 a > span {
    font-size: 11px;
    line-height: 17px;
}

/* Icons */
.menu-sidebar span.icon {
    display: inline-block;
    height: 30px;
    width: 30px;
    margin: -5px 5px -5px 0;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    vertical-align: middle;
}


/* Line Menu
----------------------------------------------------------------------------------------------------*/

/* Level 1 */
.menu-line,
.menu-line li,
.menu-line li a { display: inline-block; }


/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */




/* Mega Drop-Down Menu
----------------------------------------------------------------------------------------------------*/


#hmenu-right, 
#hmenu-full {
    background: #ffffff;
    background: -moz-linear-gradient(top,  #ffffff 0%, #e8e8e8 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e8e8e8));
    background: -webkit-linear-gradient(top,  #ffffff 0%,#e8e8e8 100%);
    background: -o-linear-gradient(top,  #ffffff 0%,#e8e8e8 100%);
    background: -ms-linear-gradient(top,  #ffffff 0%,#e8e8e8 100%);
    background: linear-gradient(to bottom,  #ffffff 0%,#e8e8e8 100%);
    
    -webkit-box-shadow: 0 -1px 0 rgba(255,255,255,.5) inset;
    -moz-box-shadow: 0 -1px 0 rgba(255,255,255,.5) inset;
    box-shadow: 0 -1px 0 rgba(255,255,255,.5) inset;
}

#hmenu-right{
    border: 1px solid #dedede;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

#hmenu-full{border-bottom: 1px solid #dedede;
            -webkit-border-radius: 0;
            -moz-border-radius: 0;
            -ms-border-radius: 0;
            -o-border-radius: 0;
            border-radius: 0;
}

#hmenu-right #menu {float: right;}
#hmenu-right {margin: 30px 15px 0 0;}
#hmenu-right .menu-dropdown { margin: 0 5px;}

/* Level 1 */

.menu-dropdown li.level1 {margin:-1px 1px 0 0;}

.menu-dropdown > li:before {
    content: " ";
    display: block;
    height: 52px;
    left: -2px;
    position: absolute;
    top: 0;
    width: 0;
}

.menu-dropdown a.level1,
.menu-dropdown span.level1 {
    border: 0 none;
    color: #FFF;
    text-shadow: 0 1px 0 rgba(255,255,255,.75);
}

.menu-dropdown a.level1 > span,
.menu-dropdown span.level1 > span {
    height: 28px;
    line-height: 25px;
    padding: 4px 20px 0 8px;
    font-size: 15px;
}

.menu-dropdown span.separator.level1,
.menu-dropdown li.level1 a{
    padding-left: 10px; 
    height: 35px;}

/* Set Active */
.menu-dropdown li.active a { 
    height: 35px;
}

.menu-dropdown span.level2 > span
{
    padding: 10px 10px 2px;
    text-transform: uppercase;
    margin-bottom: 3px;
    margin: 6px;
    background: url(../../images/img/menu-li-active.png) 0 0% repeat-x transparent;
    -webkit-box-shadow: rgba(0,0,0,0.2) 0 0 6px inset, 0px -1px 0 #fff inset;
    -moz-box-shadow: rgba(0,0,0,0.2) 0 0 6px inset, 0px -1px 0 #fff inset;
    box-shadow: rgba(0,0,0,0.2) 0 0 6px inset, 0px -1px 0 #fff inset;
    border-bottom: 1px solid #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}

.menu-dropdown a.level2 > span, .menu-dropdown span.level2 > span {
    line-height: 20px;
}

.menu-dropdown span.level2 > span .subtitle {text-transform: lowercase !important;}
.menu-dropdown span.icon{background-position: 50% 100%;}
/* Drop-Down */
.menu-dropdown .dropdown {
    top: 40px;
}

.menu-dropdown .dropdown-bg > div {
    padding: 0;
}

.menu-dropdown .dropdown-bg{
    padding: 5px 0;
    background: #DEDEDE;
    border: 1px solid #dedede; 
    margin: 7px 10px 10px;
    background: #ffffff;
    background: -moz-linear-gradient(top,  #ffffff 0%, #e8e8e8 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e8e8e8));
    background: -webkit-linear-gradient(top,  #ffffff 0%,#e8e8e8 100%);
    background: -o-linear-gradient(top,  #ffffff 0%,#e8e8e8 100%);
    background: -ms-linear-gradient(top,  #ffffff 0%,#e8e8e8 100%);
    background: linear-gradient(to bottom,  #ffffff 0%,#e8e8e8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e8e8e8',GradientType=0 );
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;

}

.menu-dropdown .dropdown-bg:before
{
    top: 1px;
    left: 48%;
    content: " ";
    height: 7px;
    width: 12px;
    position: absolute;
    pointer-events: none;
}


.menu-dropdown .dropdown-bg:before {
    background: url(../../images/img/menu-arrow.png) 0 0 no-repeat transparent;
}

.menu-dropdown .dropdown-bg div.column {padding: 0}
.dropdown-bg div ul.level2{margin: 0;}



/* Level 2 */
.menu-dropdown a.level2, .menu-dropdown a.level3{border: 1px solid transparent;} 
.menu-dropdown li.level2 a{
    padding-left: 10px; 
    height: auto; 
    box-shadow: none !important;}

.menu-dropdown li.level2 { 
    margin: 0;
}
.menu-dropdown a.level3 {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}
.menu-dropdown a.current.level2,
.menu-dropdown li.level2 a:hover {
    background: url(../../images/img/menu-li-active-dropdown.png) 0 92% repeat-x transparent;
    -webkit-box-shadow: rgba(0,0,0,0.2) 0 0 6px inset, 0px -1px 0 #fff inset;
    -moz-box-shadow: rgba(0,0,0,0.2) 0 0 6px inset, 0px -1px 0 #fff inset;
    box-shadow: rgba(0,0,0,0.2) 0 0 6px inset, 0px -1px 0 #fff inset;
}


.menu-dropdown li.level2:last-child{background: none;}
.menu-dropdown li.level2:first-child { border-top: none; }

.menu-dropdown a.level2,
.menu-dropdown span.level2 { color: #FFF; text-shadow:none;}

.menu-dropdown span.subtitle{
    font-size: 11px; 
    margin-top:1px;
    margin-bottom:2px;
    line-height: 13px;
    padding-right: 10px;
}

.menu-dropdown li.level3 {
    font-size: 11px;
    padding-left: 8px;
    line-height: 17px;
}

.menu-dropdown li.level3 a {margin-right: 8px;}
#bottom-c .menu-sidebar a.level1 > span, #bottom-c .menu-sidebar span.level1 > span{padding: 5px 13px 5px 0;}
.menu-dropdown li.level1.active, .menu-dropdown li.level1:hover, .menu-dropdown li.remain
{
    background: url(../../images/img/menu-li-active.png) 0 0% repeat-x transparent;
    -webkit-box-shadow: rgba(0,0,0,0.2) 0 0 6px inset, 0px -1px 0 #fff inset;
    -moz-box-shadow: rgba(0,0,0,0.2) 0 0 6px inset, 0px -1px 0 #fff inset;
    box-shadow: rgba(0,0,0,0.2) 0 0 6px inset, 0px -1px 0 #fff inset;
}

.menu-dropdown li.level2:hover a {box-shadow: none !important;}
.menu-dropdown a.level2:hover, .menu-dropdown a.level3:hover { color: #FFF; text-shadow: none; }

/* Set Current */
.menu-dropdown a.current.level2 { font-weight: normal; text-shadow: none} 

/* Set Hover */
.menu-dropdown a.level3,
.menu-dropdown a.level3:hover
{ color: #FFF; text-shadow: none; }

/* Set Current */
.menu-dropdown a.current.level3 { font-weight: normal;} 

/* Icons */
.menu-dropdown .level1 .level1 span.icon {
    width: 30px;
    height: 30px;
    margin-left: -5px;
}
.menu-dropdown .level1 .level1 span.icon + span,
.menu-dropdown .level1 .level1 span.icon + span + span { margin-left: 25px; }

.menu-dropdown li.level2 .level2 span.icon { margin-right: 4px; }
.menu-dropdown li.level2.hassubtitle .level2 span.icon {
    margin-top: -12px;
}

.menu-dropdown li.level2 .level2 span.icon + span,
.menu-dropdown li.level2 .level2 span.icon + span + span { margin-left: 39px; }

/* Subtitles */
.menu-dropdown .level1 .level1 span.title { line-height: 18px; font-size: 12px;}
.menu-dropdown .level1 .level1 span.subtitle { margin-top: -1px; line-height: 15px; font-size: 10px;}


/* Sidebar/Accordion Menu
----------------------------------------------------------------------------------------------------*/

/* Link */
.menu-sidebar a,
.menu-sidebar li > span { color: #606060; font-size: 12px;}

/* Hover */
.menu-sidebar a:hover,
.menu-sidebar li > span:hover { color: #d50; }

/* Level 1 */
.menu-sidebar li.level1 { border-top: 1px dotted #e0e0e0; }
.footer-body .menu-sidebar li.level1 { border-top: 0 none; border-bottom: 1px solid rgba(0,0,0,.2); 
                                       -webkit-box-shadow: 0 1px 0 rgba(255,255,255, 0.05);
                                       -moz-box-shadow: 0 1px 0 rgba(255,255,255, 0.05);
                                       box-shadow: 0 1px 0 rgba(255,255,255, 0.05);}
.menu-sidebar li.level1:first-child { border-top: none; }

.menu-sidebar li.parent .level1 > span { background: url(../../images/img/menu_sidebar_parent.png) 100% 0 no-repeat; }
.menu-sidebar li.parent.active .level1 > span { background-position: 100% -100px; }

/* Level 2-4 */
.menu-sidebar ul.level2 ul { padding-left: 10px; }

/* Icons */
.menu-sidebar span.icon { margin-right: 4px; }

.menu-sidebar a.level1 > span, .menu-sidebar span.level1 > span{
    background: url(../../images/img/menu_sidebar.png) 100% 0 no-repeat;
}

.footer-body .menu-sidebar a.level1 > span, .footer-body .menu-sidebar span.level1 > span{
    background: none;
}



.footer-body .menu-sidebar a.level1 > span, .menu-sidebar span.level1 > span{
    background-position: 100% -3px;
}

/* Line Menu
----------------------------------------------------------------------------------------------------*/

.menu-line li {
    margin-left: 7px;
    padding-left: 8px;
}

.menu-line li:first-child {
    margin-left: 0;
    padding-left: 0;
    background: none;
}